/*  Beamed (the only limit is your imagination) */
/*  Copyright (C) 2012  Michael F�rst */
/*  */
/*  This program is free software; you can redistribute it and/or modify it */
/*  under the terms of the GNU General Public License as published by the */
/*  Free Software Foundation; either version 3 of the License, or (at your */
/*  option) any later version. */
/*  */
/*  This program is distributed in the hope that it will be useful, but */
/*  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY */
/*  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License */
/*  for more details. */
/*  */
/*  You should have received a copy of the GNU General Public License along */
/*  with this program; if not, see <http://www.gnu.org/licenses/>. */

Presentation.B_Callback = function () {
	Presentation.addObject(new CObject(B_Obj_Circle, {x:0,y:0,radius:350},null,-1,-1));
	// corpus
	Presentation.addObject(new CObject(B_Obj_Circle, {x:0,y:0,radius:2000},null,18,100));
	// cockpit
	Presentation.addObject(new CObject(B_Obj_Line, {x:-1000,y:-1732,x2:-900,y2:-2500},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x: 1000,y:-1732,x2: 900,y2:-2500},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x:- 900,y:-2500,x2: 900,y2:-2500},null,18,100));
	// left wing
	Presentation.addObject(new CObject(B_Obj_Line, {x:-1992,y:-174,x2:-15000,y2:100},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x:-1992,y: 174,x2:-15000,y2:100},null,18,100));
	// right wing
	Presentation.addObject(new CObject(B_Obj_Line, {x:1992,y:-174,x2:15000,y2:100},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x:1992,y: 174,x2:15000,y2:100},null,18,100));
	// top wing
	Presentation.addObject(new CObject(B_Obj_Line, {x:-120,y:-2500,x2:0,y2:-5000},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x: 120,y:-2500,x2:0,y2:-5000},null,18,100));
	// wheels
	Presentation.addObject(new CObject(B_Obj_Line, {x:-1285,y:1532,x2:-1928,y2:2498},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Line, {x: 1285,y:1532,x2: 1928,y2:2498},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Box, {x:-2028,y:2498,width:200,height:800,angle:0,round:false,filled:false},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Box, {x: 2028,y:2498,width:200,height:800,angle:0,round:false,filled:false},null,18,100));
	Presentation.addObject(new CObject(B_Obj_Box, {x:0,y:2200,width:200,height:400,angle:0,round:false,filled:false},null,18,100));
	
	// Text content
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:-50,angle:0,size:60,str:"penguinmenac3"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:50,angle:0,size:30,str:"aka Michael Fürst"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:140,angle:0,size:10,str:"Click or use right arrow key!"}, null, -1, 1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:160,angle:0,size:10,str:"You can also drag and zoom (using your mousewheel)"}, null, -1, 1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:180,angle:0,size:10,str:"Rotate the presentation using ä and # on german keyboard"}, null, -1, 1));
	
	Presentation.addObject(new CObject(B_Obj_Line, {x:1280-200,y:0,x2: 350,y2:0},null,-1,-1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:1280-100,y:0,angle:-90,size:80,str:"Data"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Box,  {x:1280-100,y:0,width:280*2,height:200,angle:-90,round:false,filled:false},null,-1,-1));
	
	Presentation.addObject(new CObject(B_Obj_Line, {x:-1280+200,y:0,x2: -350,y2:0},null,-1,-1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280+100,y:0,angle:90,size:80,str:"Qualifications"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Box, {x:-1280+100,y:0,width:280*2,height:200,angle:90,round:false,filled:false},null,-1,-1));
	
	Presentation.addObject(new CObject(B_Obj_Line, {x:0,y: 200-1024,x2: 0,y2:-350},null,-1,-1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: 100-1024,angle:180,size:80,str:"Hobbies"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Box, {x:0,y: 100-1024,width:280*2,height:200,angle:180,round:false,filled:false},null,-1,-1));
	
	Presentation.addObject(new CObject(B_Obj_Line, {x:0,y: -200+1024,x2: 0,y2:350},null,-1,-1));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: -100+1024,angle:0,size:80,str:"Go on!"}, null, -1, -1));
	Presentation.addObject(new CObject(B_Obj_Box, {x:0,y: -100+1024,width:280*2,height:200,angle:0,round:false,filled:false},null,-1,-1));
	
	// Details on 'Data'
	Presentation.addObject(new CObject(B_Obj_Text, {x:1280+100,y: 0,angle:-90,size:40,str:"Country: Germany"}, null, 2, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:1280+200,y: 0,angle:-90,size:40,str:"Job: Student"}, null, 3, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:1280+300,y: 0,angle:-90,size:40,str:"Etc.: Inventor of Beamed"}, null, 4, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:1280+400,y: 0,angle:-90,size:40,str:"penguinmenac3@gmail.com"}, null, 5, 100));
	
	// Details on 'Hobbies'
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: -100-1024,angle:180,size:40,str:"Kite- & Windsurfing"}, null, 7, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: -200-1024,angle:180,size:40,str:"Snowboarding"}, null, 8, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: -300-1024,angle:180,size:40,str:"Programming/Gaming"}, null, 9, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y: -400-1024,angle:180,size:40,str:"Creating Music"}, null, 10, 100));
	
	// Details on 'Qualifications'
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-100,y: 0,angle:90,size:40,str:"java, JavaScript, (J)Ruby, C++, HTML5"}, null, 12, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-130,y: 0,angle:90,size:20,str:"(excellent -> good)"}, null, 12, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-200,y: 0,angle:90,size:40,str:"PHP, CSS3"}, null, 13, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-230,y: 0,angle:90,size:20,str:"(enough->basics)"}, null, 13, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-300,y: 0,angle:90,size:40,str:"Tools/Webtools"}, null, 14, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-400,y: 0,angle:90,size:40,str:"Gamedevelopment"}, null, 15, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:-1280-430,y: 0,angle:90,size:20,str:"(3d games are brainfuck)"}, null, 15, 100));
	
	// The END
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:-50000,angle:0,size:20000,str:"THE END"}, null, 23, 100));
	Presentation.addObject(new CObject(B_Obj_Text, {x:0,y:50000,angle:0,size:5000,str:"the presentation will start from the begining if you continue"}, null, 23, 100));
	
	
	
	
	// The Path through the presentation
	Presentation.addPathpoint(new CPath(0,0, 1, 0,2));
	Presentation.addPathpoint(new CPath(0,0, 1.9, 0,2));
	Presentation.addPathpoint(new CPath(1280-100, 0, 1.5, 90, 1));
	Presentation.addPathpoint(new CPath(1280,0, 1, 90, 0.2));
	Presentation.addPathpoint(new CPath(1280+60,0, 1, 90, 0.2));
	Presentation.addPathpoint(new CPath(1280+120,0, 1, 90, 0.2));
	Presentation.addPathpoint(new CPath(1280+150,0, 1, 90, 0.2));
	Presentation.addPathpoint(new CPath(0,-1024+100, 1.5, 180, 1));
	Presentation.addPathpoint(new CPath(0,-1024, 1, 180, 0.2));
	Presentation.addPathpoint(new CPath(0,-1024-60, 1, 180, 0.2));
	Presentation.addPathpoint(new CPath(0,-1024-120, 1, 180, 0.2));
	Presentation.addPathpoint(new CPath(0,-1024-150, 1, 180, 0.2));
	Presentation.addPathpoint(new CPath(-1280+100,0, 1.5, 270, 1));
	Presentation.addPathpoint(new CPath(-1280,0, 1, 270, 0.2));
	Presentation.addPathpoint(new CPath(-1280-60,0, 1, 270, 0.2));
	Presentation.addPathpoint(new CPath(-1280-120,0, 1, 270, 0.2));
	Presentation.addPathpoint(new CPath(-1280-150,0, 1, 270, 0.2));
	Presentation.addPathpoint(new CPath(0,1024-100, 1.5, 360, 1));
	Presentation.addPathpoint(new CPath(0,0, 0.25, 360, 1));
	Presentation.addPathpoint(new CPath(0,0, 0.03, 360, 1));
	Presentation.addPathpoint(new CPath(0,0, 0.03, 0, 1));
	Presentation.addPathpoint(new CPath(8000, 0, 0.03, 40, 1));
	Presentation.addPathpoint(new CPath(0, 0, 0.03, -40, 1));
	Presentation.addPathpoint(new CPath(0, 0, 0.03, 0, 1));
	Presentation.addPathpoint(new CPath(0, 0, 0.003, 0, 1));
};

Debug.createOutput();